package com.x86.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2022/4/17 15:46
 */
/**
    * 机器后测信息
    */
@ApiModel(value="机器后测信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "c_test")
public class CTest implements Serializable {
    @TableId(value = "cid", type = IdType.INPUT)
    @ApiModelProperty(value="机器id")
    private String cid;

    @TableField(value = "disk_pressure_test")
    @ApiModelProperty(value="磁盘压力测试 True/False(判断是否存在字段)")
    private String diskPressureTest;

    @TableField(value = "cpu_pressure_test_id")
    @ApiModelProperty(value="cpu压力测试id")
    private Integer cpuPressureTestId;

    @TableField(value = "memory_pressure_test")
    @ApiModelProperty(value="内存压力测试结果")
    private String memoryPressureTest;

    private static final long serialVersionUID = 1L;

    public static final String COL_CID = "cid";

    public static final String COL_DISK_PRESSURE_TEST = "disk_pressure_test";

    public static final String COL_CPU_PRESSURE_TEST_ID = "cpu_pressure_test_id";

    public static final String COL_MEMORY_PRESSURE_TEST = "memory_pressure_test";
}